import { PageParam } from '@/api';
import { YesNoEnum } from '@/api/enum';

/**
 * 业务单据编码
 */
export interface AppSerialNumber {
  id?: number;
  createTime?: string;
  updateTime?: string;
  createUserId?: number;
  updateUserId?: number;
  isDelete?: boolean;
  tenantId?: number;
  code?: string;
  name?: string;
  prefix?: string;
  format?: string;
  digit?: number;
  mantissa?: number;
  isDefault?: YesNoEnum;
}

export interface AppSerialNumberParams extends PageParam {
  name?: string;
}
